package com.hskn.hss.module.common.mapper;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hskn
 * @since 2021-05-11
 */

public interface CommonMapper {

    /**
     * 获取表名注释
     * @param tableName
     * @return
     */
    String getTableComment(String tableName);

    /**
     * 获取字段名注释
     * @param tableName
     * @param columnName
     * @return
     */
    String getColumnComment(String tableName, String columnName);

    /**
     * 获取字段默认值
     * @param tableName
     * @param columnName
     * @return
     */
    String getColumnDefaultValue(String tableName, String columnName);
}
